package com.xiangxiao.rpan.storage.dto;

import com.xiangxiao.rpan.storage.enums.SearchModeEnum;
import com.xiangxiao.rpan.storage.enums.StorageTypeEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @auther xiangxiao
 * @email 573768011@qq.com
 * @data 2023/10/26 14:45
 */
@Data
public class StorageSourceDto implements Serializable {
  private static final long serialVersionUID = 1L;

  private Integer id;

  private String name;

  private String key;

  private String remark;

  private StorageTypeEnum type;

  private Boolean enable;

  private Boolean enableFileOperator;

  private Boolean enableFileAnnoOperator;

  private boolean enableCache;

  private boolean autoRefreshCache;

  private boolean searchEnable;

  private boolean searchIgnoreCase;

  private SearchModeEnum searchMode;

  private Integer orderNum;

  private StorageSourceAllParamDTO storageSourceAllParam;

  private boolean defaultSwitchToImgMode;

  private boolean compatibilityReadme;
}
